package com.fac.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 创建租赁订单响应VO
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "创建租赁订单返回对象")
public class LeaseOrderCreateVO {

    /**
     * 订单ID
     */
    @ApiModelProperty(value = "订单ID", example = "1")
    private Long orderId;

    /**
     * 订单编号
     */
    @ApiModelProperty(value = "订单编号", example = "L202401010001")
    private String code;

    /**
     * 设备名称
     */
    @ApiModelProperty(value = "设备名称", example = "数控机床")
    private String equipmentName;

    /**
     * 租赁天数
     */
    @ApiModelProperty(value = "租赁天数", example = "5")
    private Integer leaseDays;

    /**
     * 租赁费用
     */
    @ApiModelProperty(value = "租赁费用", example = "500.00")
    private BigDecimal leaseFee;

    /**
     * 押金
     */
    @ApiModelProperty(value = "押金", example = "1000.00")
    private BigDecimal deposit;

    /**
     * 订单状态
     */
    @ApiModelProperty(value = "订单状态：0待支付，1租赁中，2已完成，3已取消", example = "0")
    private Integer orderStatus;

    /**
     * 支付链接
     */
    @ApiModelProperty(value = "支付链接", example = "https://payment.example.com/pay/1")
    private String paymentUrl;
} 